﻿@using Resources;
@{Layout = "";}
@model sipfe.model.LogOnModel

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <title>@properties.tituloPagina</title>
    <link href="@Url.Content("~/css/logon.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/js/lib/jquery/jquery-1.8.3.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/js/lib/jquery/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/js/lib/jquery/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
</head>
<body style="margin: 0 0 0 0; background-color: #eaeaea;">   
    <table cellpadding="0" cellspacing="0" width="100%" border="0">        
        <tr><td>&nbsp;</td></tr>        
        <tr>
            <td align="center"> 
                <div class="ja-moduletable" style="clear: both; width: 600px;">
                    <h3 style="font-size:15pt">@properties.tituloSistema</h3>
                    <table cellpadding="0" cellspacing="0" style="clear: both; width: 550px;" border="0">
                        <tr>
                            <td>
                                <table cellpadding="0" cellspacing="0" style="clear: both; width: 550px;" border="0">
                                    <tr>
                                        <td style="width: 350px;"><img src="@Url.Content("~/images/logoEmpresa.jpg")" width="330px" height="121px" border="0"/></td>
                                        <td>
                                            @using (Html.BeginForm("LogOn", "Seguridad", FormMethod.Post))
                                            {
                                            <table cellpadding="0" cellspacing="0" width="100%" border="0">
                                                <tbody class="tituloLogon">
                                                
                                                <tr>
                                                    <td>Usuario</td>
                                                </tr>
                                                <tr>                                                                                                       
                                                    <td>@Html.TextBoxFor(m => m.UserName, new { onkeypress = "return validaCaracterV2(event);" })</td>
                                                </tr>                                                
                                                <tr>
                                                    <td>Password</td>
                                                </tr>
                                                <tr>                                                                                                       
                                                    <td>@Html.PasswordFor(m => m.Password, new { onkeypress = "return validaCaracterV2(event);" })</td>
                                                </tr>
                                                <tr>
                                                    <td align="center"><a href="#" onclick="javascript:document.forms[0].ss.click();"><img src="@Url.Content("~/images/btn_login.gif")" alt="Login" width="78" height="34" border="0" /></a></td>
                                                </tr>
                                                </tbody>
                                             </table>
                                                <input style="display: none" id="ss" type="submit" value="sss" />
                                            }
                                        </td>
                                    </tr>
                                </table>
                            </td>                            
                        </tr>
                        <tr><td class="tituloLogon">@properties.copyright</td></tr>
                        <tr><td> @Html.ValidationSummary(false)</td></tr>
                    </table>
                </div>
            </td>
        </tr>
    </table>
</body>
</html>